package chapter2.observerMode.observable.impl;

import java.time.LocalDateTime;
import java.util.Observable;

public class JDKObservable extends Observable {
    public void change(){
        setChanged();
        notifyObservers(LocalDateTime.now());
    }
}
